package cn.tedu.overhaul.management.dto.persist.mapper;

import cn.tedu.overhaul.management.pojo.dto.OverhaulRentUpdateAllDTO;
import cn.tedu.overhaul.management.pojo.entity.Overhaul;
import cn.tedu.overhaul.management.pojo.entity.OverhaulRent;
import cn.tedu.overhaul.management.pojo.vo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/*
* 处理检查管理数据的Mapper接口
* */

@Repository
public interface OverhaulRentMapper extends BaseMapper<OverhaulRent> {

     Long selectByName(String name);
     List<RentOriginalVO> selectRent();
     String selectById(Long id);
     List<ToolNameNumberVO> selectByToolId(Long id);
     int updateEndTime(Long id);
     RentOriginalVO getStandardById(Long id);
     Long selectByToolNumber(String number);
     int update(OverhaulRentUpdateAllDTO overhaulRentUpdateAllDTO);
     Integer selectStatus(String number);
     List<RentUserVO> getLoadAll();






}
